ComboBox Class

Defines a control which allows displaying and editing of text, and contains a list of possible values for that text.

Definition

Namespace: Independentsoft.Office.Odf.Forms
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class ComboBox : Control
Inheritance
Object    Control    ComboBox

Constructors

ComboBox Initializes a new instance of the ComboBox class.

Properties

ControlImplementation Contains the specific concrete rendition or implementation of a control that should be instantiated.
ConvertEmptyToNull Specifies whether empty current values are regarded as NULL.
CurrentValue Contains the current status of an input control.
DataField Specifies the name of a column in the result set defined by a (data-aware) form. A control interchanges content with its column when: -the current row of a form changes, the control is initialized with the value from its column. -the user changes the content of a control, this changed value is written back to its column.
DefaultValue Contains the default value of an input control.
EnableAutoComplete Specifies whether a control is included in the tabbing navigation order.
EnableTabbingNavigation Specifies whether a control is included in the tabbing navigation order.
EventListeners
(Inherited from Control)
ID Contains an identifier for a control element.
IsDisabled Specifies whether a control can accept user input.
IsDropDown Specifies whether a list in a combobox is always visible or is only visible when the user clicks the drop-down button.
IsPrintable Specifies whether a control is printed when a user prints a document in which the control is contained.
IsReadOnly Specifies whether a user can modify the value of a control.
Items Contains a collection of Item objects.
MaximumLength Contains the maximum number of characters that a user can enter in an input control.
Name Contains the name of a form or control element.
Properties
(Inherited from Control)
Size Contains number of rows that are visible at a time in a combo box list or a list box list.
Source Contains the source for the list entries in a list or combo box.
SourceType Specifies how to populate the entry list in a combo box or list box control.
TabIndex Contains tabbing navigation order of controls within a form.
Title Contains additional information about a control. The value of the attribute can be used as a tool tip.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetContentElements Returns all content elements.
(Overrides ControlGetContentElements)
GetHashCode
(Inherited from Object)
GetParent
(Inherited from Control)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current ComboBox object to its equivalent string representation.
(Overrides ObjectToString)

See Also